package com.dapeis.domain;

import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.Transient;

import net.sf.json.util.NewBeanInstanceStrategy;

import com.ag.core.base.Domain;
import com.dapeis.core.utils.StylistConstants;

/**
 * 搭配师 Title:Collocationer.java Collocationer Description:
 * 
 * @author yuanyong
 * @date 2017年4月20日 上午11:01:30 Email: hzyuanyong@126.com
 *
 */

@Table(name = "dps_collocation")
public class Collocation extends Domain {

    private static final long serialVersionUID = -17360610081297345L;
    public static final String DEFALUT_HEAD_IMG ="/resources/dsp_defalut.png";
    public static final String DEFALUT_BACK_IMG ="/resources/dsp_back.jpg";
    
    @Id
    @GeneratedValue(generator = "JDBC")
    Integer id;
    String contact; // 手机号
    String nickName; // 昵称
    String headImg=DEFALUT_HEAD_IMG; // 头像
    String backgroundImg =DEFALUT_BACK_IMG ;//背景图片
    String password; // 密码
    Integer auditState = StylistConstants.Audit.NO_SUBMIT; // 审核状态
    Integer state = StylistConstants.State.NORMAL; // 状态 1 正常， 0 禁用
    Long lastLoginTime; // 最后登录时间
    Long loginTime; // 登录时间
    String loginIp; // 登录IP
    String lastLoginIp; // 最后登录IP
    Long recordCreateTime; // 修改时间
    String deviceName; //设备
    String deviceType; //设备
    String appVersion; //版本
    String qrCodeUrl;//二维码
    Integer inforId;//collocation_dps id
    Integer bankId;//id
    String honor;// 荣誉
    String cityCode;//城市码
    String address;// 地址
    String goodStyle;// 擅长风格
    String remark;// 个人简介
    Long regTimDate;// tim注册信息
    
    
    Integer allInComeMoney = 0;//(系统所有收入总和,只加不会减)
    Integer totalMoney = 0;//总金额(可用)
    Integer freezeMoney = 0 ;//冻结金额（抢单未完成、和提现）
    Integer outlayMoney= 0;//提取金额(所有已提现成功金额)
    
    public static final String PROPERTY_ID = "id";
    public static final String PROPERTY_CONTACT = "contact";
    public static final String PROPERTY_WECHAT = "weChat";
    //public static final String PROPERTY_REALNAME = "realName";
    public static final String PROPERTY_AUDITSTATE = "auditState";
    public static final String PROPERTY_STATE = "state";
    public static final String PROPERTY_INFORID = "inforId";

    public Integer getId() {
	return id;
    }

    public void setId(Integer id) {
	this.id = id;
    }

    public String getContact() {
	return contact;
    }

    public void setContact(String contact) {
	this.contact = contact;
    }

    public String getHeadImg() {
	return headImg;
    }

    public void setHeadImg(String headImg) {
	this.headImg = headImg;
    }

    public String getBackgroundImg() {
		return backgroundImg;
	}

	public void setBackgroundImg(String backgroundImg) {
		this.backgroundImg = backgroundImg;
	}

	public String getPassword() {
	return password;
    }

    public void setPassword(String password) {
	this.password = password;
    }

    public Integer getState() {
	return state;
    }

    public void setState(Integer state) {
	this.state = state;
    }

    public Long getLastLoginTime() {
	return lastLoginTime;
    }

    public void setLastLoginTime(Long lastLoginTime) {
	this.lastLoginTime = lastLoginTime;
    }

    public Long getLoginTime() {
	return loginTime;
    }

    public void setLoginTime(Long loginTime) {
	this.loginTime = loginTime;
    }

    public String getLoginIp() {
	return loginIp;
    }

    public void setLoginIp(String loginIp) {
	this.loginIp = loginIp;
    }

    public String getLastLoginIp() {
	return lastLoginIp;
    }

    public void setLastLoginIp(String lastLoginIp) {
	this.lastLoginIp = lastLoginIp;
    }

    public Long getRecordCreateTime() {
	return recordCreateTime;
    }

    public void setRecordCreateTime(Long recordCreateTime) {
	this.recordCreateTime = recordCreateTime;
    }
    public Integer getAuditState() {
	return auditState;
    }

    public void setAuditState(Integer auditState) {
	this.auditState = auditState;
    }

    public String getQrCodeUrl() {
        return qrCodeUrl;
    }

    public void setQrCodeUrl(String qrCodeUrl) {
        this.qrCodeUrl = qrCodeUrl;
    }

    public String getDeviceName() {
        return deviceName;
    }

    public void setDeviceName(String deviceName) {
        this.deviceName = deviceName;
    }

    public String getDeviceType() {
        return deviceType;
    }

    public void setDeviceType(String deviceType) {
        this.deviceType = deviceType;
    }

    public String getAppVersion() {
        return appVersion;
    }

    public void setAppVersion(String appVersion) {
        this.appVersion = appVersion;
    }

    public Integer getInforId() {
        return inforId;
    }

    public void setInforId(Integer inforId) {
        this.inforId = inforId;
    }

    public String getNickName() {
        return nickName;
    }

    public void setNickName(String nickName) {
        this.nickName = nickName;
    }

	public String getHonor() {
		return honor;
	}

	public void setHonor(String honor) {
		this.honor = honor;
	}

	public String getAddress() {
		return address;
	}

	public void setAddress(String address) {
		this.address = address;
	}

	public String getGoodStyle() {
		return goodStyle;
	}

	public void setGoodStyle(String goodStyle) {
		this.goodStyle = goodStyle;
	}

	public String getRemark() {
		return remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}

	public String getCityCode() {
		return cityCode;
	}

	public void setCityCode(String cityCode) {
		this.cityCode = cityCode;
	}

	public Long getRegTimDate() {
	    return regTimDate;
	}

	public void setRegTimDate(Long regTimDate) {
	    this.regTimDate = regTimDate;
	}

	

	public Integer getBankId() {
	    return bankId;
	}

	public void setBankId(Integer bankId) {
	    this.bankId = bankId;
	}

	public Integer getAllInComeMoney() {
	    return allInComeMoney;
	}

	public void setAllInComeMoney(Integer allInComeMoney) {
	    this.allInComeMoney = allInComeMoney;
	}

	public Integer getTotalMoney() {
	    return totalMoney;
	}

	public void setTotalMoney(Integer totalMoney) {
	    this.totalMoney = totalMoney;
	}

	public Integer getFreezeMoney() {
	    return freezeMoney;
	}

	public void setFreezeMoney(Integer freezeMoney) {
	    this.freezeMoney = freezeMoney;
	}

	public Integer getOutlayMoney() {
	    return outlayMoney;
	}

	public void setOutlayMoney(Integer outlayMoney) {
	    this.outlayMoney = outlayMoney;
	}
	
	
	
}
